//
//  ViewController.m
//  06-CycleImages
//
//  Created by dllo on 16/7/21.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "ViewController.h"
#import "ZHWCycleView.h"
#define kScreenBounds [UIScreen mainScreen].bounds
#define WIDTH kScreenBounds.size.width
#define HEIGHT kScreenBounds.size.height
@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    NSArray *array = @[@"0.jpg", @"1.jpg", @"2.jpg", @"3.jpg", @"4.jpg"];
    ZHWCycleView *cycleView = [[ZHWCycleView alloc] initWithFrame:CGRectMake(0, 0, WIDTH, 200)];
//    cycleView.cycleScrollView.showsHorizontalScrollIndicator = YES;
    [cycleView setImagesWithArray:array];
    [self.view addSubview:cycleView];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
